﻿using System;
using System.Collections.Generic;

namespace Spammer.ViewModels
{
    public class HistoryViewModel : BaseViewModel
    {
        public List<FullHistoryData> MailsHistory { get; set; }

        public HistoryViewModel()
        {
            this.MailsHistory = new List<FullHistoryData>();
        }

        public void LoadHistory()
        {
            this.MailsHistory = DataPersister.GetFullHistory();
        }
    }
}
